package com.bdqn.student.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bdqn.student.entity.Student;
import com.bdqn.student.mapper.StudentMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class StudentService {
    @Resource
    StudentMapper studentMapper;

    public Page<Student> getPage(String studentname, Integer pageNum) {
        IPage<Student> page= new Page<>(pageNum, 3);//参数一是当前页，参数二是每页个数
        return null;
    }

    public void saveOrUpdate(Student student) {

    }

    public void removeById(Integer id) {

    }
}
